<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja" id="main">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>ScreenSprite Class</title>
	<link rel="stylesheet" href="../inc/css/style.min.css" />
	<script type="text/javascript" src="../inc/js/lib/jquery-1.11.1.min.js"></script>
	<script type="text/javascript" src="../inc/js/common.js"></script>
</head>
<body>

	<div class="main">

		<h1 class="main__title--h1 main__title--h1--v07">ScreenSprite Class</h1>
		<ul class="breadcrumb">
			<li>JSライブラリ</li>
			<li>&gt;</li>
			<li>ScreenSprite Class</li>
		</ul>
		<p>The sprite which covers the entire game screen.</p>
		<div class="main__section">
			<h2 class="main__title--h2">Constructor</h2>
<pre class="main__pre--code">
ScreenSprite ()
</pre>
		</div><!-- /main__section -->


		<div class="main__section">
			<h2 class="main__title--h2">Item Index</h2>
			<b>Methods</b>
			<ul class="main__ul--inline">
				<li><a href="#m01">setBlack</a></li>
				<li><a href="#m02">setColor</a></li>
				<li><a href="#m03">setWhite</a></li>
			</ul>

			<b>Properties</b>
			<ul class="main__ul--inline">
				<li><a href="#p01">opacity</a></li>
			</ul>
		</div><!-- /main__section -->


		<div class="main__section">
			<h2 class="main__title--h2">Methods</h2>


			<div id="m01" class="main__subsection">
<pre class="main__pre--code">
setBlack ()
</pre>
				<p class="mb10px">Sets black to the color of the screen sprite.</p>
			</div><!-- /div -->

			<div id="m02" class="main__subsection">
<pre class="main__pre--code">
setColor ( r , g , b )
</pre>
				<p class="mb10px">Sets the color of the screen sprite by values.</p>
				<div class="params">
					<h4>Parameters:</h4>
					<ul class="params-list">
						<li class="param">
							<code class="param-name">r</code>
							<span class="type">Number</span>
							<div class="param-description">
								<p>The red value in the range (0, 255)</p>
							</div>
						</li>
						<li class="param">
							<code class="param-name">g</code>
							<span class="type">Number</span>
							<div class="param-description">
								<p>The green value in the range (0, 255)</p>
							</div>
						</li>
						<li class="param">
							<code class="param-name">b</code>
							<span class="type">Number</span>
							<div class="param-description">
								<p>The blue value in the range (0, 255)</p>
							</div>
						</li>
					</ul>
				</div>
			</div><!-- /div -->


			<div id="m03" class="main__subsection">
<pre class="main__pre--code">
setWhite ()
</pre>
				<p class="mb10px">Sets white to the color of the screen sprite.</p>
			</div><!-- /div -->

		</div><!-- /main__section -->


		<div class="main__section">
			<h2 class="main__title--h2">Properties</h2>

			<div id="p01" class="main__subsection">
<pre class="main__pre--code">
opacity <span class="pre__type">Number</span>
</pre>
				<p class="mb10px">The opacity of the sprite (0 to 255).</p>
			</div><!-- /div -->

		</div><!-- /main__section -->


	</div><!-- /main -->

</body>
</html>